package com.ruoyi.system.domain.Evaluating;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
import lombok.Builder;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 indicator_evaluation_score
 *
 * @author ruoyi
 * @date 2024-07-18
 */
@Builder
public class IndicatorEvaluationScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 评价结果id */
    @Excel(name = "评价结果id")
    private Long evaluationResultId;

    /** 指标id */
    @Excel(name = "指标id")
    private Long indicatorId;

    /** 指标得分 */
    @Excel(name = "指标得分")
    private Float indicatorValue;


    /** 创建者 */
    @Excel(name = "创建者")
    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 修改者 */
    @Excel(name = "修改者")
    private String modifyUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyTime;

    /** $column.columnComment */
    @Excel(name = "指标客观权重", readConverterExp = "$column.readConverterExp()")
    private Float objectiveWeight;

    /** $column.columnComment */
    @Excel(name = "指标组合权重", readConverterExp = "$column.readConverterExp()")
    private Float combinationWeight;




    @Excel(name = "指标名称")
    private String indicatorName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEvaluationResultId(Long evaluationResultId)
    {
        this.evaluationResultId = evaluationResultId;
    }

    public Long getEvaluationResultId()
    {
        return evaluationResultId;
    }
    public void setIndicatorId(Long indicatorId)
    {
        this.indicatorId = indicatorId;
    }

    public Long getIndicatorId()
    {
        return indicatorId;
    }
    public void setIndicatorValue(Float indicatorValue)
    {
        this.indicatorValue = indicatorValue;
    }

    public Float getIndicatorValue()
    {
        return indicatorValue;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public String getCreateUser()
    {
        return createUser;
    }
    public void setModifyUser(String modifyUser)
    {
        this.modifyUser = modifyUser;
    }

    public String getModifyUser()
    {
        return modifyUser;
    }
    public void setModifyTime(Date modifyTime)
    {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime()
    {
        return modifyTime;
    }

    public Float getObjectiveWeight() {
        return objectiveWeight;
    }


    public Float getCombinationWeight() {
        return combinationWeight;
    }

    public void setCombinationWeight(Float combinationWeight) {
        this.combinationWeight = combinationWeight;
    }


    public String getIndicatorName() {
        return indicatorName;
    }

    public void setIndicatorName(String indicatorName) {
        this.indicatorName = indicatorName;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("evaluationResultId", getEvaluationResultId())
            .append("indicatorId", getIndicatorId())
            .append("indicatorValue", getIndicatorValue())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("modifyUser", getModifyUser())
            .append("modifyTime", getModifyTime())
                .append("objectiveWeight", getObjectiveWeight())
                .append("combinationWeight", getCombinationWeight())
                .append("indicatorName", getIndicatorName())
            .toString();
    }

    public void setObjectiveWeight(Float objectiveWeight) {
        this.objectiveWeight = objectiveWeight;
    }
}
